<script>function upload(){alert("upload2()");}</script>

<img src="images/title_bar_additem.jpg"/>
<iframe id="uploadFrameID" name="uploadFrame" height="0" width="0" frameborder="0" scrolling="yes"></iframe>
<form enctype="multipart/form-data" action="ImageUploadServlet" method="post" target="uploadFrame" onsubmit="upload()">
    <table width="600" class="table-font-12">
        <tbody valign="top">
            <tr>
                <td colspan="2"> 注意事項
                    <ul>
                        <li>只接受 .jpg 或 gif 格式，且每張相片檔案大小不能超過 500kB</li>
                        <li>系統將以 圖片1 作為拍賣商品的預覽縮圖，若圖檔高度未達 100 pixel 或是寬高比例超過 2.5 倍，將無法產生縮圖</li>
                        <li>請勿未經他人同意而使用他人之相關描述與照片，以免觸法。</li>
                </ul></td>
            </tr>
            <tr>
                <td width="130">圖片1:</td>
                <td width="350"><input type="file" name="image1" id="image1" value="${image1}"/>
                </td>
            </tr>
            <tr>
                <td>圖片2:</td>
                <td><input type="file" name="image2" id="image2" value="${image2}"/>
                </td>
            </tr>
            <tr>
                <td>圖片3:</td>
                <td><input type="file" name="image3" id="image3" value="${image3}"/>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <div id ="b4upload">
                        <input type="submit" value="submit"/>
                    <input type='image' src='images/upload-bt.gif'/>
                    <a href="#" class="lbAction" rel="deactivate"><img border="0" src="images/cancel-bt.gif" width="75" height="32"/></a>
                    </div>
                    <div id ="uploading" >
                        <div class="percentImage1" id="imageuploadprogressBar">[ Upload Progress Bar ]</div>
                        <a href="#" class="lbAction" rel="deactivate"><img id="imagehere" border="0" src="images/cancel-bt.gif" width="75" height="32"/></a>
                    </div>
                    <div id ="uploaded" >
                        <a href="#" class="lbAction" rel="deactivate">Complete image<img border="0" src="images/confirm-bt.gif" width="75" height="32"/></a>                        
                    </div>
                    
                </td>
            </tr>
        </tbody>
    </table>
</form>



